<?php

/**
 * Capital Direct Lending (http://www.philbsd.com/cdl)
 *
 * Copyright (C) 2008 Philippine Business Solution Developers <http://www.philbsd.com>
 * All rights reserved.
 *
 *
 * LICENSE
 *
 * This source file is subject to the GNU General Public License v3 license
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.gnu.org/licenses/gpl-3.0.txt
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@philbsd.com so we can send you a copy immediately.
 *
 * @copyright  (c) 2008 Philippine Business Solution Developers. (http://www.philbsd.com)
 * @license    http://www.gnu.org/licenses/gpl-3.0.txt
 * @version    $Id: LoanController.php 38 2008-03-09 08:26:00Z philbsd $
 */

class LoanController extends Philbsd_Controller_Action
{
	public function init()
	{
		$this->view->menuLoan = true;
	}

	public function indexAction()
	{
/*
		Zend_Locale::setDefault('de');

		$date = new Zend_Date();
		echo $date;
$locale = new Zend_Locale();

// Actual locale
print $locale->toString();

// new locale
$locale->setLocale('aa_DJ');
print $locale->toString();
*/
$locale = new Zend_Locale('de_AT');
$locale = new Zend_Locale('en_US');
$list = $locale->getTranslationList('language');

//print_r ($list);
// example key -> value pairs...
// [de] -> Deutsch
// [en] -> Englisch

// use one of the returned key as value for the getTranslation() method of another language
print $locale->getTranslation('enfdds', 'language', 'zh');
// returns the translation for the language 'de' in chinese

		$this->render();
	}

	public function viewAction()
	{
		$this->render();
	}

	public function editAction()
	{
		$this->render();
	}

	public function borrowerAction()
	{
		$this->render();
	}

	public function coborrowerAction()
	{
		$this->render();
	}

	public function businessAction()
	{
		$this->render();
	}

	public function collateralAction()
	{
		$this->render();
	}

	public function notesAction()
	{
		$this->render();
	}
}
